/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package snmpapplication.beans;

/**
 *
 * @author APetcu
 */
public class ManagedDevice {

    private Ip ipAddress;
    private int isReachable = 1;
    private String macAddress;

    public ManagedDevice(Ip ipAddress) {
        this.ipAddress = ipAddress;
    }

    public Ip getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(Ip ipAddress) {
        this.ipAddress = ipAddress;
    }

    @Override
    public String toString() {
        return this.ipAddress.toString();
    }

    public int getIsReachable() {
        return isReachable;
    }

    public void setIsReachable(int isReachable) {
        this.isReachable = isReachable;
    }

    public String getMacAddress() {
        return macAddress;
    }

    public void setMacAddress(String macAddress) {
        this.macAddress = macAddress;
    }
}
